package com.qiaofang.applet.service.property.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/*
* 新房主信息
* */
@Data
@Document(collection = "property_firsthand_estate")
@ApiModel("新房主信息")
@NoArgsConstructor
public class FirsthandEstate extends FirsthandEstateMain{

    @ApiModelProperty(value = "楼盘地址")
    private String address;

    @ApiModelProperty(value = "项目特色")
    private String featureType;

    @ApiModelProperty(value = "开发商")
    private String developers;

    @ApiModelProperty(value = "开盘日期")
    private Date openDate;

    @ApiModelProperty(value = "交房日期")
    private Date checkOutDate;

    @ApiModelProperty(value = "产权年限")
    private String propertyRight;

    @ApiModelProperty(value = "物业公司")
    private String manageCompany;

    @ApiModelProperty(value = "物业费")
    private BigDecimal propertyFee;

    @ApiModelProperty(value = "容积率")
    private BigDecimal plotRatio;

    @ApiModelProperty(value = "绿化率")
    private BigDecimal greeningRate;

    @ApiModelProperty(value = "规划户数")
    private Long houseHolds;

    @ApiModelProperty(value = "地上车位")
    private Long upCarPort;

    @ApiModelProperty(value = "地下车位")
    private Long downCarPort;

    @ApiModelProperty(value = "项目描述")
    private String estateDesc;

    @ApiModelProperty(value = "首页推荐")
    private Boolean recommend;

    @ApiModelProperty(value = "推荐语")
    private String recommendDescribe;

    @ApiModelProperty(value = "上架/下架")
    private String upDownFlag;

    @ApiModelProperty(value = "手动上架时间")
    private Date manualUpTime;

    @ApiModelProperty(value = "项目人员1")
    private String employeeUuid1;

    @ApiModelProperty(value = "项目人员2")
    private String employeeUuid2;

    @ApiModelProperty(value = "项目人员3")
    private String employeeUuid3;

    @ApiModelProperty(value = "人员部门1")
    private String deptUuid1;

    @ApiModelProperty(value = "人员部门2")
    private String deptUuid2;

    @ApiModelProperty(value = "人员部门3")
    private String deptUuid3;

    @ApiModelProperty("关联更新 true:已更新关联数据 false:未更新关联数据")
    private Boolean relationUpdate;

    @ApiModelProperty(value = "楼盘动态")
    private List<EstateDynamic> dynamicList;

    @ApiModelProperty(value = "楼盘图片")
    private List<EstateImage>  imageList;

    @ApiModelProperty(value = "楼盘房型")
    private List<EstateHouseType> houseTypeList;

    @ApiModelProperty(value = "楼盘案场人员")
    private List<EstatePrincipal> principalList;

    @ApiModelProperty(value = "首页主推排序")
    private Integer recommendSort;

    @ApiModelProperty("房源创建时间")
    private Date createdTime;

    @ApiModelProperty("最小总价")
    private BigDecimal minTotalPrice;

    @ApiModelProperty("最大总价")
    private BigDecimal maxTotalPrice;
}
